# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)

set(PREBUILT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/prebuilt")
set(PREBUILT_INCLUDE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/prebuilt/include")
set(PREBUILT_LIBRARY_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/prebuilt/lib")
file(MAKE_DIRECTORY ${PREBUILT_INCLUDE_DIRECTORY})
file(MAKE_DIRECTORY ${PREBUILT_LIBRARY_DIRECTORY})

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

add_compile_options(-Wno-format)

project(LiteApp)

idf_build_set_property(COMPILE_OPTIONS "-Wno-error=unused-but-set-parameter" APPEND)
